Skip to content

Conversation

@SystemKeeper
Copy link
Contributor

Summary

I noticed that the system address book did not update the displayname after it was changed in LDAP. I tried occ dav:sync-system-address first, but no changes. Then I tried occ user:sync-account-data, but all accounts reported nothing to update. While digging through the code I noticed that User_Proxy did not implement IGetDisplayNameBackend (in contrast, Group_Proxy does for groups). Afterwards, the system address book was correctly updated.

(occ user:sync-account-data did still report nothing to update, as the displayname is already handled before the sync, because of #39770).

I did not find an issue about that, which makes me wonder if there's something I missed here and it should've worked without the interface ...?

Checklist

@SystemKeeper SystemKeeper requested a review from a team as a code owner January 9, 2026 15:32
@SystemKeeper SystemKeeper requested review from ArtificialOwl, blizzz, come-nc, nfebe, salmart-dev and sorbaugh and removed request for a team January 9, 2026 15:32
@SystemKeeper SystemKeeper force-pushed the fix/noid/ldap-get-displayname-backend branch from 2a009d9 to f870041 Compare January 9, 2026 17:31
@SystemKeeper
Copy link
Contributor Author

/backport to stable32

@SystemKeeper
Copy link
Contributor Author

/backport to stable31

@CarlSchwan CarlSchwan merged commit 7165131 into master Jan 12, 2026
217 of 224 checks passed
@CarlSchwan CarlSchwan deleted the fix/noid/ldap-get-displayname-backend branch January 12, 2026 09:19
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants